package com.cloudservice.ccs.mapper;


import com.cloudservice.ccs.entity.CustomerService;
import com.cloudservice.ccs.entity.VisitorInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface VisitorInfoMapper {
	int save(VisitorInfo visitorInfo);

	int update(String ip, VisitorInfo visitorInfo);

	int partialUpdate(String ip ,  Map<String, Object> fields);

	int delete(String ip);

	VisitorInfo getOne(String ip );

	List<VisitorInfo> getAll();

	List<VisitorInfo> conditionQuery(Map<String,Object> fields);
}
